package cn.wen233.client.config;

/**
 * Sunglow 服务端配置
 *
 * @author wenei
 * @date 2021-10-25 19:39
 */
public class SunglowServerProperties {

    private static String ip = "localhost";

    private static int port = 11112;

    private static String namespaceId = "public";

    private static String group = "default";

    public static String getIp() {
        return ip;
    }

    public static void setIp(String ip) {
        SunglowServerProperties.ip = ip;
    }

    public static int getPort() {
        return port;
    }

    public static void setPort(int port) {
        SunglowServerProperties.port = port;
    }

    public static String getNamespaceId() {
        return namespaceId;
    }

    public static void setNamespaceId(String namespaceId) {
        SunglowServerProperties.namespaceId = namespaceId;
    }

    public static String getGroup() {
        return group;
    }

    public static void setGroup(String group) {
        SunglowServerProperties.group = group;
    }
}
